/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.DepartPassengerInfo;

public interface DepartPassengerInfoDao extends Dao {

    /**
     * Retrieves all of the departPassengerInfos
     */
    public List getDepartPassengerInfos(DepartPassengerInfo departPassengerInfo);

    /**
     * Gets departPassengerInfo's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the departPassengerInfo's id
     * @return departPassengerInfo populated departPassengerInfo object
     */
    public DepartPassengerInfo getDepartPassengerInfo(final Integer id);

    /**
     * Saves a departPassengerInfo's information
     * @param departPassengerInfo the object to be saved
     */    
    public int saveDepartPassengerInfo(DepartPassengerInfo departPassengerInfo);

    /**
     * Removes a departPassengerInfo from the database by id
     * @param id the departPassengerInfo's id
     */
    public void removeDepartPassengerInfo(DepartPassengerInfo departPassengerInfo);
}

